package com.kb.erp.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kb.erp.domain.CrmCustomerDept;
import com.kb.erp.entity.CRMSalesOrder;
import com.kb.erp.entity.crm.Customer;
import com.kb.erp.entity.crm.CustomerAddress;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface CrmService {
    public List<CRMSalesOrder> querySalesOrder(String code);
    public int del(String code);
    public List<Customer> queryCustomerByCode(String code);
    public List<CustomerAddress> queryCustAddress(Integer id);
    public void updateUserCode();

    /**
     * 修改业务员的客户部门数据
     */
    public void updateCustomerDept(MultipartFile file);
    public Page<CrmCustomerDept> queryCrmCustomerDept(CrmCustomerDept customerDept);
    void updateCustomerDept(CrmCustomerDept customerDept);
}
